package com.tianbao54.springboot.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Inheritance;

@Inheritance
@Entity
public class VIPCustomer extends Customer {

    public Double discount;

    public VIPCustomer(Double discount) {
        this.discount = discount;
    }
}
